package com.property.manage.dao.equipment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.property.manage.model.equipment.EquipmentEntity;
import com.property.manage.model.equipment.EquipmentVo;
import com.property.manage.model.parking.ParkingEntity;
import com.property.manage.model.parking.ParkingVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 描述
 *
 * @author lwb
 * @since 2020/7/15
 */
@Repository
public interface EquipmentMapper extends BaseMapper<EquipmentEntity> {

    IPage<EquipmentVo> getPage(@Param("page") IPage<EquipmentVo> page, @Param("villageId") Integer villageId, @Param("name")String name);
    IPage<EquipmentVo> getRepairPage(@Param("page") IPage<EquipmentVo> page, @Param("villageId") Integer villageId, @Param("nextTime")String nextTime);
    Integer getRepairCount(@Param("villageId") Integer villageId, @Param("nextTime")String nextTime);
}
